<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	  xmlns:layout="http://www.thymeleaf.org/extras/dialect"
	  layout:decorate="layout/layout_info"
>
<head>
	<title>联系方式</title>
	<meta charset="utf-8"/>
	<link rel="stylesheet" href="../../static/asset/css/base.min.css" th:href="@{/asset/css/base.min.css}"/>
	<link rel="stylesheet" href="../../static/asset/css/common/front.css" th:href="@{/asset/css/common/front.css}"/>
	<link rel="stylesheet" href="../../static/asset/css/common/front.css"
		  th:href="@{/asset/css/front/user-center.css}"/>
</head>
<body>
<div layout:fragment="content" th:remove="tag">
	<div class="container-fluid display-flex p-0" style="flex: 1 1;">
		<div class="row no-gutters w-100">
			<div class="col-12 col-md-2" th:insert="layout/menus::submenu(${menus},0,'Front_Grant_History')"
				 style="background: #3c3c3c;">
			</div>

			<div class="col-12 col-md-10">
				<div class="row no-gutters">
					<div class="col-12">
						<div class="card">
							<div class="card-header">
								联系方式
							</div>
							<div class="card-body">
								<form action="#" th:action="@{/contact}" method="post"
									  class="col-md-8 offset-md-2 col-lg-6 offset-lg-3">
									<div class="form-group row">
										<label for="telephone" class="col-sm-3 col-form-label">手机</label>
										<div class="col-sm-9">
											<div style="display: inline-block;">
												<input id="telephone" name="telephone" class="form-control-plaintext"
													   value="--" th:value="${currentUser.mobile}" type="text" readonly>
												<div class="form-control-feedback text-danger"></div>
											</div>
											<a th:href="@{/contact/mobile}">前往修改</a>
										</div>
									</div>
									<div class="form-group row">
										<label for="email" class="col-sm-3 col-form-label">邮箱</label>
										<div class="col-sm-9">
											<div style="display: inline-block;">
												<input id="email" name="email" class="form-control-plaintext" value="--"
													   th:value="${currentUser.email}" type="text" readonly>
												<div class="form-control-feedback text-danger"></div>
											</div>
											<a th:href="@{/contact/email}">前往修改</a>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<th:block layout:fragment="script">
	<script type="text/javascript" src="../../static/asset/js/app.js" th:src="@{/asset/js/app.js}"></script>
</th:block>
</body>
</html>
